Skip to content

Replace std::os::glob with extra::glob, which is written in rust - #8914

Closed
Dretch wants to merge 1 commit into
rust-lang:masterfrom
Dretch:native-glob
Closed

Dretch wants to merge 1 commit into
rust-lang:masterfrom
Dretch:native-glob

Conversation

@Dretch

@Dretch Dretch commented Sep 1, 2013

Copy link
Copy Markdown
Contributor

This is #8201 with a bunch of amendments to address the comments (and re-based).

@Dretch

Dretch commented Sep 1, 2013

Copy link
Copy Markdown
Contributor Author

r?

Comment thread src/libextra/glob.rs

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a pretty substantial module. Would you mind writing a high-level overview type comment here? Perhaps mention why we don't use the glob libc function, some basics of how this is implemented, and just an overview of what's possible.

It would also be awesome if you could include a code example or two of how to use it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@alexcrichton

Copy link
Copy Markdown
Member

This looks really good! I put some various comments throughout, but I wasn't very active on the previous pull request so I'll mainly defer to those discussing it over there. Additionally though, this is a good candidate for squashing, so would you mind squashing all your commits into one?

Thanks for this!

@Dretch

Dretch commented Sep 3, 2013

Copy link
Copy Markdown
Contributor Author

@alexcrichton

If you are happy with it now then I will squash it.

@alexcrichton

Copy link
Copy Markdown
Member

lgtm, thanks!

@Dretch

Dretch commented Sep 5, 2013

Copy link
Copy Markdown
Contributor Author

@alexcrichton

I have squished all the commits, as requested.

bors added a commit that referenced this pull request Sep 6, 2013
This is #8201 with a bunch of amendments to address the comments (and re-based).
@bors bors closed this Sep 6, 2013
bors added a commit that referenced this pull request Sep 12, 2013
This feature was overlooked in the original pull request (#8914).

r? @alexcrichton
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
8914: internal: remove `StructDefKind` r=jonas-schievink a=jonas-schievink

The `Fields` enum already encodes this, so `StructDefKind` is redundant.

bors r+

Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants